#!/usr/bin/env python
# -*- coding: utf-8 -*-

from django.conf.urls.defaults import *

# Add to your project urls.py
#
# urlpatterns = patterns('',
#     (r'^toread/(.*)', "toread.urls"),
# )

urlpatterns = patterns('toread.views',
    url(r'$', "my_items", name='my_items', ),
    
    url(r'(?P<content_type_id>\d+)/(?P<object_id>\d+)/add/$',
        "bookmark_object", name='bookmark_object', ),
    
    url(r'(?P<content_type_id>\d+)/(?P<object_id>\d+)/remove/$',
        "remove_bookmark", name='remove_bookmark', ),
    
    url(r'users/(?P<user_id>\d+)/shared/$',
        "shared_items_for", name='shared_items_for', ),

    url(r'(?P<toread_id>\d+)/$', "read", name='read', ),
)